#!/bin/bash
#SBATCH -J envi_coarse
#SBATCH --tasks=176
#SBATCH --constraint=infiniband
#SBATCH --time=2-0:0:0

# load environment-modules support
. /etc/profile.d/modules.sh

# load Intel compiler and MVAPICH2 environment modules
module load comp/intel/2019.1 \
	lib/mkl/2019.1 \
	mpi/mvapich2/2.3-intel-2019.1 \
    lib/imsl/2018.0.0

# use srun instead of mpiexec
# (may change in the future)
srun --mpi=pmi2 /fa/proj8/wbp/environ_tax/fortran/equity_efficiency/endogenous_energy/no_superstar/steady_state/steady_state > /fa/proj8/wbp/environ_tax/fortran/equity_efficiency/endogenous_energy/no_superstar/steady_state/log_coarse_act.out
